package com.shzu.mapper;

import com.shzu.pojo.NationalCourse;
import com.shzu.pojo.NationalCourseExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface NationalCourseMapper {
    int countByExample(NationalCourseExample example);

    int deleteByExample(NationalCourseExample example);

    int deleteByPrimaryKey(String nationalcid);

    int insert(NationalCourse record);

    int insertSelective(NationalCourse record);

    List<NationalCourse> selectByExample(NationalCourseExample example);

    NationalCourse selectByPrimaryKey(String nationalcid);

    int updateByExampleSelective(@Param("record") NationalCourse record, @Param("example") NationalCourseExample example);

    int updateByExample(@Param("record") NationalCourse record, @Param("example") NationalCourseExample example);

    int updateByPrimaryKeySelective(NationalCourse record);

    int updateByPrimaryKey(NationalCourse record);
}